package cn.bob.system.mapper;

import cn.bob.system.domain.Menu;
import cn.bob.basic.mapper.IBaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2022-10-24
 */
public interface MenuMapper extends IBaseMapper<Menu> {
    //获取上级菜单
    List<Menu> getParentMeum();

    List<Menu> getMiddenMenuId(Long id);
    //通过logininfo的id查询菜单
    List<Menu> getMenuByLogId(Long id);
}
